using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XFGameFramework;
using XFGameFramework.BuffSystem;
using XFGameFramework.ArchiveSystem;


public class PlayerModel : RolesModel,IArchiveModel ,IAddableBuff
{
    public int neatness;
    public int currentNeatness;
    public List<BuffBase> Buffs = new List<BuffBase>();
    public Location location;
    
    public PlayerModel()
    {
        name = "altf4";
        level = 1;
        maxHp = 100;
        strength = 30;
        neatness = 10;
        currentHp = 100;
        currentStrength = 30;
        currentNeatness = 10;
        skillsID = new List<int>();
        skillsCD = new List<int>();
        //添加技能的范例
        skillsID.Add(10000);
        skillsCD.Add(0);
        skillsID.Add(10001);
        skillsCD.Add(0);

    
    Buffs = new List<BuffBase>();
        
    }

    

    #region  实现BUFF的接口
    List<BuffBase> IAddableBuff.Buffs => Buffs;


 #endregion


}
